#ifndef __GAME_CONST__
#define __GAME_CONST__

#define  METTER_TO_POINT 20
#define POINT_TO_METTER 1/METTER_TO_POINT

#ifdef _WIN32
#define SPRITE_PATH "Sprites/"
#else
#define SPRITE_PATH ""
#endif

#define ROAD_LENGTH_KEY "ROAD_LENGTH_KEY"
#define LANE_LENGTH_KEY "LANE_LENGTH_KEY"
#define MOTO_WIDTH_KEY "MOTO_WIDTH_KEY"
#define MOTO_LENGTH_KEY "MOTO_LENGTH_KEY"
#define CAR_WIDTH_KEY "CAR_WIDTH_KEY"
#define CAR_LENGTH_KEY "CAR_LENGTH_KEY"
#define BUS_WIDTH_KEY "BUS_WIDTH_KEY"
#define BUS_LENGTH_KEY "BUS_LENGTH_KEY"
#define GREEN_LIGHT_TIME_KEY "GREEN_LIGHT_TIME_KEY"
#define RED_LIGHT_TIME_KEY "RED_LIGHT_TIME_KEY"
#define V_MAX_BUS_KEY "V_MAX_BUS_KEY"
#define V_MAX_CAR_KEY "V_MAX_CAR_KEY"
#define V_MAX_MOTO_KEY "V_MAX_MOTO_KEY"
#define BUS_LANE_MODE_KEY "BUS_LANE_MODE_KEY"

// min, max
#define MIN_ROAD_LENGTH 50.0
#define MAX_ROAD_LENGTH 10000.0

#define MIN_LANE_WIDTH 2.0
#define MAX_LANE_WIDTH 6.0

#define MIN_MOTO_WIDTH 0.25
#define MAX_MOTO_WIDTH 1.0

#define MIN_MOTO_LENGTH 0.5
#define MAX_MOTO_LENGTH 2.0

#define MIN_CAR_WIDTH 2.0
#define MAX_CAR_WIDTH 6.0

#define MIN_CAR_LENGTH 3.0
#define MAX_CAR_LENGTH 8.0

#define MIN_BUS_WIDTH 2.0
#define MAX_BUS_WIDTH 6.0

#define MIN_BUS_LENGTH 3.0
#define MAX_BUS_LENGTH 10.0

#define MIN_GREEN_LIGHT_TIME 5.0
#define MAX_GREEN_LIGHT_TIME 180.0

#define MIN_RED_LIGHT_TIME 5.0
#define MAX_RED_LIGHT_TIME 180.0

#define MIN_V_MAX_BUS 15.0
#define MAX_V_MAX_BUS 55.0

#define MIN_V_MAX_CAR 15.0
#define MAX_V_MAX_CAR 55.0

#define MIN_V_MAX_MOTO 15.0
#define MAX_V_MAX_MOTO 55.0

#endif // !__GAME_CONST__
